-- GENERATED SPELL FOR [Elder Moss Creeper] --


function spell0_2348(pUnit, Event) --@Corrosive Poison,n/a--
pUnit:FullCastSpellOnTarget(3396,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2348', 31500, 1)
end

function Sorts_2348(pUnit, Event)
local choix_sorts_2348 = math.random(0, 0)
if choix_sorts_2348 == 0 then
pUnit:RegisterEvent('spell0_2348', 1, 1)
end
end

function mob2348_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2348', math.random(1500, 3000), 1)
end

function mob2348_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2348_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2348_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2348, 1, 'mob2348_Action')
RegisterUnitEvent(2348, 2, 'mob2348_Leave')
RegisterUnitEvent(2348, 3, 'mob2348_Kill')
RegisterUnitEvent(2348, 4, 'mob2348_Die')
